package com.dcy.facade;

/**
 * @Author：dcy
 * @Description:
 * @Date: 2021/1/22 10:29
 */
public class Popcorn {
    private static Popcorn popcorn = new Popcorn();

    private Popcorn() {

    }

    public static Popcorn getInstance() {
        return popcorn;
    }

    public void on() {
        System.out.println(" popcorn on");
    }

    public void off() {
        System.out.println(" popcorn off");
    }

    public void pop() {
        System.out.println(" popcorn is poping ");
    }
}
